<template>
  <div class="home-container">
    <div class="banner">
      <h1 class="banner-title">交流区</h1>
    </div>
    
    <div class="card-container">
        
      <el-card class="cardbg">
        <h1>评论区</h1>
        <Valine></Valine>
      </el-card>
    </div>
    
  </div>
</template>

<script>
import Valine from 'valine';

export default {
  name: "Talk",
  components: {
    Valine: () => import("@/components/Valine.vue"),
  },
  data() {
    return {
      
    };
  },
};
</script>

<style scoped>
h1{
    display: flex;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 8px;
    color: #2ba1d1;
}


.card-container {
  overflow-x: hidden;
}

.cardbg {
  /* background-color: #eee; */
  opacity: 0.9;
  height: 100%;
  /* display: flex;
  flex-direction: column; */
  position: relative;
  animation: main 1s;
  max-width: 951px;
  padding: 24px 40px;
  margin: 26px auto 17px auto;
  /* overflow: scroll; */
}
.banner {
  /* position: absolute; */
  background-color: #49b1f5 !important;
  top: -60px;
  left: 0;
  right: 0;
  height: 460px;
  animation: header-effect 1s;
  opacity: 0.8;
  background: url("http://img.xiyblog.cn/%E5%AF%BC%E8%88%AA/%E7%B2%BE%E5%9B%BE/24.jpg")
    center center / cover no-repeat;
}
.banner-title {
  animation: title-scale 1s;
  position: relative;
  top: 9.5rem;
  padding: 0 0.5rem;
  width: 100%;
  font-size: 2.5rem;
  text-align: center;
  color: #eee;
}
.carimg {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  object-fit: cover;
  /* opacity: 0.8; */
  /* position: fixed; */
  z-index: -9;

  /* top: -60px; */
}
.home-container {
  z-index: -9;
  /* height: 100%; */
  width: 100%;
  /* overflow: auto; */
  /* overflow-y: scroll; */
  /* position: absolute; */
  /* overflow: scroll; */
}
</style>
